home *** CD-ROM | disk | FTP | other *** search
/ By Popular Request 2.0 / By Popular Request 2.0 (Arsenal Computer).ISO / amiga_5 / pltfdt02.ads < prev    next >
Text File  |  1995-03-29  |  3KB  |  85 lines

  1.                Amiga Distribution System - Long Description File
  2.                -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  3.  
  4.  
  5.  Program Name : PlutFixDate  - by -  Mea Culpa & Peter Deane
  6.  
  7. -----------------------------------------------------------------------------
  8. File 1 - pltfdt02.lha -   20342      ADOS Req'd
  9. File 2 -              -       0     [X] All  [ ] WB1.x  [ ] WB2.x  [ ] WB3.x
  10. File 3 -              -       0      ChipSet Req'd
  11. File 4 -              -       0     [X] Any  [ ] Orig   [ ] ECS    [ ] AGA
  12. -----------------------------------------------------------------------------
  13.  
  14.  Ram Req'd 
  15.  
  16.   [X] 512k  [ ] 1meg  [ ] 2meg  [ ] 3meg  [ ] ALOT!!! 
  17.  
  18.  Special Hardware 
  19.  
  20.   
  21.  
  22. -----------------------------------------------------------------------------
  23.                               Long Description
  24. -----------------------------------------------------------------------------
  25.  
  26. Short:    Sets proper dates of TrapDoor inbounds
  27. Author:   c8345041@cc.newcastle.edu.au
  28. Uploader: c8345041@cc.newcastle.edu.au
  29. Type:     comm/fido
  30.  
  31. When TrapDoor receives a file, the date of this file is set to the time
  32. it was received.  This can be inconvenient in many cases.  Fortunately
  33. TrapDoor does store the original creation time in a filenote it makes
  34. for the file.  The TrapDoor manual has this to say:
  35.  
  36.      When a file is received with Zmodem (or any of its
  37.    derivatives), the original date and time of the file is also
  38.    transferred and will be stored in a "Time" tag by TrapDoor. The
  39.    number behind the "Time" tag is a hexadecimal unix timestamp
  40.    (seconds since 1.1.1970, midnight).  
  41.  
  42. So all we need to do is read all the files in the inbound directory for
  43. these filenotes, and if we can find the "Time" tag, we can use it to
  44. determine the real creation time of the file.
  45.  
  46. This program does just that, and - using the DOS "SetDate" command (thus
  47. making this a 2.0+ only program - will drop the datestamp into the file.
  48. PlutFileDate keeps an in-shell display of what's being done.  Please
  49. ensure the DOS program  SetDate is in a search path somewhere so
  50. PlutFileDate can do its stuff!
  51.  
  52. Sometimes a file will not have a "Time" tag.  In this case, no action is
  53. taken.  Such files not only include files without comments, but files
  54. that TrapDoor has had to rename, ie BUMPED filenames.  These files don't
  55. get the "Time" tag - the original filename is stored in the FileNote
  56. instead.
  57.  
  58. If the file has a particularly long filename, TrapDoor sometimes
  59. truncates the "Time" tag.  If we cannot read the full 8 characters of
  60. this string, again no action is taken.
  61.  
  62.     Mea Culpa, Peter Deane
  63.  c8345041@cc.newcastle.edu.au
  64.  
  65.  
  66. =============================================================================
  67.  
  68.            ADS Zone: 1
  69.      ADS Hatch Site: Paul Miller
  70.        ADS Position: ADS Zone 1 STAR
  71.            BBS Name: Lonely Mountain BBS
  72.     Phone Number(s): 804-827-0726
  73.     Network Address: 1:271/292  
  74.      Network Region: 13    
  75.           BBS Hours: 24 Hrs/Day
  76. BBS Mailer/Software: Mebbs-Net Pro BBS
  77.   BBS Storage Space: 2250 Megs + 8 CD Roms
  78.   File Requestable :  <X> Y     < > N
  79. File Request Hours : All The Time
  80.  
  81. =============================================================================
  82.                          ADS - Long Description Generator
  83.                          (c)Copyright 1995 by Paul Miller
  84.  
  85.